tayga: drop patch 003-RFC8215.patch
authorGoetz Goerisch <[email protected]>
Tue, 22 Jul 2025 16:49:41 +0000 (18:49 +0200)
committerJosef Schlehofer <[email protected]>
Thu, 24 Jul 2025 13:33:18 +0000 (15:33 +0200)
* fixed upstream by https://github.com/apalrd/tayga/commit/3dde6b75b67e47f7ad929ec0a3463ce5aa35054b

Signed-off-by: Goetz Goerisch <[email protected]>
ipv6/tayga/patches/003-RFC8215.patch [deleted file]

diff --git a/ipv6/tayga/patches/003-RFC8215.patch b/ipv6/tayga/patches/003-RFC8215.patch
deleted file mode 100644 (file)
index 6fdee21..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/addrmap.c
-+++ b/addrmap.c
-@@ -44,7 +44,9 @@ int validate_ip4_addr(const struct in_ad
- int validate_ip6_addr(const struct in6_addr *a)
- {
-       /* Well-known prefix for NAT64 */
--      if (a->s6_addr32[0] == WKPF && !a->s6_addr32[1] && !a->s6_addr32[2])
-+        if (a->s6_addr32[0] == WKPF &&
-+         (!a->s6_addr32[1] || (a->s6_addr16[2] == htonl(0x0001)))
-+          && !a->s6_addr32[2])
-               return 0;
-       /* Reserved per RFC 2373 */